package wpmp.security.client.utils;

import wpmp.security.client.internal.PmpKeyValueUtils;
import wpmp.utils.quickbean.KeyValue;

/**
 * @author Wayne.Wang<5waynewang@gmail.com>
 * @since 7:01:15 PM Dec 24, 2012
 */
public class KeyValueUtils {

	public static KeyValue get(String key) {
		return PmpKeyValueUtils.get(key);
	}

	public static String getValue(String key) {
		KeyValue keyValue = get(key);
		return keyValue == null ? null : keyValue.getValue();
	}
}
